/*
 * CCIS
 * (C) Copyright Code MZ, Ltd. 2014,  All Rights Reserved.
 */
package com.beetlestech.nfe.main.biz.com.dto;

import javax.management.loading.PrivateClassLoader;

/**
 * Biz DTO
 *
 * History REV. Updated Date Updater Infomation ------- ---------------
 * ---------------- ------------------ 1.0 2015/09/18 GCLI Create
 *
 */
@com.beetlestech.nfe.fw.core.type.AliasKanJi("")
public class MstcatagoryInfoDTO implements java.io.Serializable, Comparable<MstcatagoryInfoDTO> {

	private static final long serialVersionUID = 1L;

	private Integer id = null;

	private String name = null;

	private Integer level = null;

	private Integer orders = null;

	private Integer fatherid = null;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getOrders() {
		return orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}

	public Integer getFatherid() {
		return fatherid;
	}

	public void setFatherid(Integer fatherid) {
		this.fatherid = fatherid;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Comparable#compareTo(java.lang.Object)
	 */
	@Override
	public int compareTo(MstcatagoryInfoDTO compareToDTO) {
		return this.equals(compareToDTO) ? 0 : -1;
	}
}
